import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'
import Vue from 'vue'
import { UI_CACHE_DB_DICT_DATA } from '@/store/mutation-types'
import { axios } from '@/utils/request'
import { serviceApi } from '@/api/common.js'
/**
 * 公共API接口
 */
export const api = {
  recycleBin: serviceApi.auth + '/users/recycle/bin'
}

/**
 * 还原被逻辑删除的用户
 * @param {*} params
 * @returns
 */
export const putRecycleBin = (params) => putAction('/users/recycle/bin', params);

/**
 * 彻底删除用户
 * @param {*} params
 * @returns
 */
export const deleteRecycleBin = (userIds, params) => putAction(`/users/recycle/bin/${userIds}`, params);
